package com.kissoft.mgr.ctrler;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/main.do")
public class MainCtrler {
	
	@RequestMapping(method = RequestMethod.GET)
	public ModelAndView index(){
		
		ModelAndView mav = new ModelAndView();
		mav.addObject("title", "메인 페이지");
		mav.addObject("menu", "main");
		mav.setViewName("layout.default.main.index");
		
		return mav;
	}

}
